-- Keymaps are automatically loaded on the VeryLazy event
-- Default keymaps that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/keymaps.lua
-- Add any additional keymaps here

-- Map 'jk' to 'Esc' in insert mode
vim.api.nvim_set_keymap("i", "jk", "<Esc>", { noremap = true, silent = true })

-- Use 'Alt-h' and 'Alt-l' to move left and right in insert mode
vim.api.nvim_set_keymap("i", "<M-h>", "<Left>", { noremap = true, silent = true })
vim.api.nvim_set_keymap("i", "<M-l>", "<Right>", { noremap = true, silent = true })
